package com.rran.study.designpattern.behavioral.strategy.factory;

import com.rran.study.designpattern.behavioral.strategy.strategy.PayStrategy;

/**
 * @author yy
 * @Type PayStrategySpringFactory.java
 * @Desc
 * @date 2020/7/20 13:00
 */
public class PayStrategySpringFactory {

    public static PayStrategy getPayStrategy(String payName) {
        return PayActionRepository.getPayStrategy(payName);
    }
}
